<script type="text/javascript">
$(function () {
	var url = '${contextPath}script/el/lecturer.js';
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
		}
	});
	$('#editForm').find("input:checkbox, input:radio").not('input.ibtn').uniform();
});
</script>
<#import "/freemarker/modeltype.ftl" as mt>
<#import "/freemarker/modeltype_entity.ftl" as mte>
<div>
	<h5 class="title"> 编辑讲师信息</h5>
</div>
<div class="widget" >
	<div class="widget-content">
		<form id="editForm">
			<table style="width:400px;"  class="table table-bordered">
				<tr>
					<td style="width: 100px;">讲师</td>
					<td>
						<div class="input-append">
							<input  name="ln" id="ln" value="${(lecturer.ln)!''}" type="text" style="width: 120px" readonly/>
							<button class="btn btn-xs btn-primary" type="button" title="选择商品" pib="${i}" onclick="javascript:selectUser_lecturer($(this));"><i class="icon-search"></i></button>
							<input type="hidden" name="code" id="lc" value="${(lecturer.code)!''}"/>
						</div>
					</td>
				</tr>
				<tr>
					<td>专业 </td>
					<td><input  name="major" id="major" value="${(lecturer.major)!''}" type="text" style="width: 150px"/> </td>
				</tr>
				<tr>
					<td colspan="2" style="text-align: center;">
						<a href="javascript:;" class="btn btn-info" onclick="javascript: save_lecturer(); return false;"><i class="icon-save"></i>&nbsp;保&nbsp;&nbsp;存</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<a href="javascript:;" class="btn btn-primary" onclick="javascript: sys_load_handle('lecturer');return false;"><i class="fontello-icon-block"></i>&nbsp;取&nbsp;&nbsp;消</a>
					</td>
				</tr>
			</table>
		</form>
	</div>
</div>